﻿using System.Collections.Generic;
using System.ServiceModel;
using Jarvis.WCF.DataContracts;

namespace Jarvis.WCF.ServiceContracts
{
    [ServiceContract]
    public interface IStatisticsService
    {

        /// <summary>
        /// Gets stats for all locations
        /// </summary>
        /// <returns></returns>
        [OperationContract]
        IList<LocationStats> GetStatistics();

        /// <summary>
        /// Gets stats for the specified location
        /// </summary>
        /// <param name="location"></param>
        /// <returns></returns>
        [OperationContract]
        LocationStats GetStatisticsForLocation(Location location);
    }
}
